Adwaita: Fix up color button styling
authorMatthias Clasen <mclasen@redhat.com>
Sat, 31 Oct 2015 23:13:32 +0000 (19:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 31 Oct 2015 23:13:32 +0000 (19:13 -0400)
There was one forgotten instance of the GtkColorSwatch type name.

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 7108aed880cf1f030daa76f9f33f8c875ec0f225..2b72f7dd147ba4bba877ea80ec168b998cd3fd26 100644 (file)
@@ -734,7 +734,7 @@ modelbutton.flat,
 button.color {
   padding: 5px; // Uniform padding on the GtkColorButton
 
-  GtkColorSwatch:first-child:last-child { // :first-child:last-child for a specificity bump, it gets overridden by the
+  colorswatch:first-child:last-child { // :first-child:last-child for a specificity bump, it gets overridden by the
                                           // colorpicker style, otherwise
     border-radius: 0;
     box-shadow: inset 0 1px 1px transparentize(black, 0.9),
index 4ed6f637a28ead1f5c63e678cfa054e22b9e07b1..07d67dd00414b20066928331a2ee0fe31c0ab770 100644 (file)
@@ -1243,10 +1243,10 @@ modelbutton.flat,
 button.color, headerbar button.color.titlebutton,
 .titlebar button.color.titlebutton {
   padding: 5px; }
-  button.color GtkColorSwatch:first-child:last-child {
+  button.color colorswatch:first-child:last-child {
     border-radius: 0;
     box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px rgba(238, 238, 236, 0.1); }
-    button.color GtkColorSwatch:first-child:last-child:insensitive, button.color GtkColorSwatch:first-child:last-child:backdrop {
+    button.color colorswatch:first-child:last-child:insensitive, button.color colorswatch:first-child:last-child:backdrop {
       box-shadow: none; }
 
 /*********
index cee5a74a0ff77c0d0e18dfc95553d3587016861c..b177506193bb8ee12f0143ec7e18a0e6254874c9 100644 (file)
@@ -1243,10 +1243,10 @@ modelbutton.flat,
 button.color, headerbar button.color.titlebutton,
 .titlebar button.color.titlebutton {
   padding: 5px; }
-  button.color GtkColorSwatch:first-child:last-child {
+  button.color colorswatch:first-child:last-child {
     border-radius: 0;
     box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px white; }
-    button.color GtkColorSwatch:first-child:last-child:insensitive, button.color GtkColorSwatch:first-child:last-child:backdrop {
+    button.color colorswatch:first-child:last-child:insensitive, button.color colorswatch:first-child:last-child:backdrop {
       box-shadow: none; }
 
 /*********